import { createPinia } from 'pinia'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
const pinia = createPinia() // 实例化Pinia
pinia.use(piniaPluginPersistedstate) // Pinia 持久化插件

export * from './modules/counter'

export default pinia